<template>
    <i :style="`width: ${iconSize}`" />
</template>


<script setup>
const props = defineProps({
    size: {
        type: String,
        default: '16px'
    }
})

const iconSize = computed(() => {
    return props.size.endsWith('px') ? props.size : `${props.size}px`
})

</script>